package team.kirohuji.domain.user;

import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

/**
 * Shiro会话
 * @author kirohuji
 *
 */
@Entity
@Table(name = "shiro_session")
public class ShiroSession {

    /**
     * shiro会话Id
     */
	@Id
	@Column(name="shiro_session_id")
    private String shiroSessionId;

    /**
     * shiro会话
     */
	@Column(name="shiro_session")
    private String shiroSession;

    /**
     * 创建时间
     */
	@Column(name="create_time")
    private Date createTime;

	public String getShiroSessionId() {
		return shiroSessionId;
	}

	public void setShiroSessionId(String shiroSessionId) {
		this.shiroSessionId = shiroSessionId;
	}

	public String getShiroSession() {
		return shiroSession;
	}

	public void setShiroSession(String shiroSession) {
		this.shiroSession = shiroSession;
	}

	public Date getCreateTime() {
		return createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	@Override
	public String toString() {
		return "ShiroSession [shiroSessionId=" + shiroSessionId + ", shiroSession=" + shiroSession + ", createTime="
				+ createTime + "]";
	}
    
}